bicycles = ['trek', 'cannondale', 'redline', 'specialized']

if bicycles[0] == 1 or bicycles[2] == 3:
    print("right")
# 判断列表是否为空
cars = []
if cars:
    print("there is at least one car")
else:
    print("no car involved")

# 判断成员是否存在
available_toppings = ['mushrooms', 'olives', 'green peppers',
    'pepperoni', 'pineapple', 'extra cheese']
requested_toppings = ['mushrooms', 'french fries', 'extra cheese']
for requested_topping in requested_toppings:
    if requested_topping in available_toppings:
        print(f"Adding {requested_topping}.\n")
    else:
        print(f"Sorry, we don't have {requested_topping}.")
        print("Finished making your pizza!\n")